package com.itcast.song.exception;

import com.itcast.song.response.StatusCode;

public class BusinessException extends RuntimeException {
    private StatusCode statusCode;
    public BusinessException(StatusCode statusCode) {
        this.statusCode = statusCode;
    }
    // get方法
    public StatusCode getStatusCode() {
        return statusCode;
    }
}
